<!DOCTYPE html>
<style>
#scrollable-box {
    width: 300px;
    height: 200px;
    border: 1px solid black;
}
.absolute-element {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: yellow;
}
</style>
<div id="scrollable-box"></div>
<div class="absolute-element">Abspos Element</div>
